public class edge {
    int str;
    int end;
    int weight;

    public edge(int str, int end, int weight) {
        this.str = str;
        this.end = end;
        this.weight = weight;
    }
}
